package com.kd.captcha;

import cn.hutool.core.util.RandomUtil;

public class CaptchaGenerator implements ICaptchaGenerator {

    @Override
    public String generate(int length) {
        return RandomUtil.randomNumbers(length);
    }

    @Override
    public String generateAlphaNum(int length) {
        return RandomUtil.randomString(length);
    }
}
